<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>${title}</title>
<meta name="keywords" content="">
<meta name="description" content="">
<link href="../css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
<link href="../css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
<link href="../css/plugins/iCheck/custom.css" rel="stylesheet">
<link href="../css/animate.min.css" rel="stylesheet">
<link href="../css/style.min862f.css?v=4.1.0" rel="stylesheet">
</head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5>添加${title}</h5>
					</div>
					<div class="ibox-content">
						${form}
					</div>
				</div>
			</div>
		</div>
	</div>
	<script src="../js/jquery.min.js?v=2.1.4"></script>
	<script src="../js/bootstrap.min.js?v=3.3.6"></script>
	<script src="../js/plugins/peity/jquery.peity.min.js"></script>
	<script src="../js/plugins/iCheck/icheck.min.js"></script>
	<script src="../js/demo/peity-demo.min.js"></script>
	<script src="../js/bootstrap-paginator.min.js"></script>
	<script src="../js/bootstrap-editable.js"></script>
	<script src="../js/bootstrap-table.js"></script>
	<script src="../js/bootstrap-table-zh-CN.js"></script>
	<script src="../js/bootstrap-table-editable.js"></script>
	<script src="../js/jquery.validate.min.js"></script>
	<script src="../js/tools.js"></script>
	<script type="text/javascript">
		$(function() {
			getById();
		});
		function getById() {
			var ${lowCasePoPrimaryKeys} = getUrlParam("${lowCasePoPrimaryKeys}");
			if (${lowCasePoPrimaryKeys} == null || ${lowCasePoPrimaryKeys}.length == 0) {
				return false;
			} else {
				$("#status").attr("disabled",false);
			}
			$.ajax({
				url : "${getByIdURL}",
				type : "post",
				data : {
					"${lowCasePoPrimaryKeys}" : ${lowCasePoPrimaryKeys}
				},
				success : function(data) {
					if (data.statusCode == "200") {
${jsAddInputValue}
					}
				}
			})
		}
		&{jsValidate}
	</script>
</body>
</html>

